package com.ruoyi.warning.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.base.Field;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * <p>
 * 区域表
 * </p>
 *
 * @author chenhc
 * @since 2025-02-25
 */
@Data
@ApiModel("区域表")
@TableName("warning_area")
public class Area extends Field {

    private static final long serialVersionUID = 1L;

    /**
     * 区域id
     */
    @TableId
    private String areaCode;

    /**
     * 区域名称
     */
    private String name;

    private String parentIndexCode;

    private String isUsed;

    private Integer sort;
}
